package com.itcg.springboot02demo01.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "com.itcg.springboot02demo01.controller")

public class MyProperties {
    private String username;
    private String password;
    private String url;

}